package unit4.task4_2;

public class Customer1 {
    private int userID;
    public String userName;
    private char sex;
    protected String phone;
    private String homePhone;
    private String email;
    private String qq;
    private String cardID;
    private String address;

    public Customer1(){
        System.out.println("这是客户类构造方法！");
    }
    public Customer1(int userID,String userName,char sex,String phone,
            String honePhone,String email,String qq,String cardID,String address){
        System.out.println("这是带参数度的客户构造方法！");
        this.userID=userID;
        this.userName=userName;
        this.sex=sex;
        this.phone=phone;
        this.homePhone=homePhone;
        this.email=email;
        this.qq=qq;
        this.cardID=cardID;
        this.address=address;
    }
    public int getUserID(){
        return userID;
    }
    public void setUserID(int userID){
        this.userID=userID;
    }
    public String getUserName() {
        return userName;
    }
    public void setUserName(String 张辽){
        this.userName=userName;
    }
    public char getSex() {
        return sex;
    }
    public void setSex(char sex) {
        this.sex = sex;
    }
    public String getPhone() {
        return phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getHomePhone() {
        return homePhone;
    }
    public void setHomePhone(String homePhone) {
        this.homePhone = homePhone;
    }
    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }
    public String getQq() {
        return qq;
    }
    public void setQq(String qq) {
        this.qq = qq;
    }
    public String getCardID() {
        return cardID;
    }
    public void setCardID(String cardID) {
        this.cardID = cardID;
    }
    public String getAddress() {
        return address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public void showUserName(){
        System.out.println("客户的姓名："+userName);
    }
}
